export {}

interface P2D {
  x: number
  y: number
}

const p1: P2D = {
  x: 1,
  y: 2
}
console.log(p1)

interface P3D extends P2D {
  z: number
}

const p2: P3D = {
  x: 1,
  y: 2,
  z: 3
}
console.log(p2)

